import BasicLayout from '@/layouts/basic-layout';
const meta = {
    auth:true
}

const pre ='commonsetting-';
export default {
    path:'/commonsetting',
    name:'commonsetting',
    meta,
    component:BasicLayout,
    children:[
        {
            path: 'aiset',
            name: `${pre}aiset`,
            meta: {
                ...meta,
                title: 'AI配置',
            },
            component: () => {
                return import ('@/pages/commonsetting/aiset'); 
            },
        },
        {
            path:'basicsetup',
            name:`${pre}basicsetup`,
            meta:{
                ...meta,
                title:'基础设置'
            },
            component:()=> import ('@/pages/commonsetting/basicsetup')
        },
        {
            path:'tagsetup',
            name:`${pre}tagsetup`,
            meta:{
                ...meta,
                title:'标签'
            },
            component:()=> import ('@/pages/commonsetting/tagsetup')
        },
        {
            path:'watermark',
            name:`${pre}watermark`,
            meta:{
                ...meta,
                title:'水印设置'
            },
            component:()=> import ('@/pages/commonsetting/watermark')
        },
    ]
}